<div id="profile">
    <div id="edit_profile">
        <a href="?page=edit_profile">Edit profile</a>
    </div>
    <div class="profile_right_content">
        <div id="profile_pic">
            <img src="images/profile_pic.jpg" width="120" height="120">
        </div>

        <div id="member_detail">

            <?php

            include ("actions/profile_data_action.php");

            ?>

            Name: <?php echo $user_profile["first_name"]." ". $user_profile["mid_name"]." ".$user_profile["last_name"]; ?> <br/>
            Country: <?php echo $user_profile["country"]; ?> <br/>
            Email: <a href="#"><?php echo $user_profile["email"]; ?></a><br/>
            About: <?php echo $user_profile["about"]; ?> <br/> college/work: <?php echo $user_profile["college"]; ?> <br/>
            Website: <a href="#"> <?php echo $user_profile["website"]; ?> </a> <br/>
            Topics created: 3 <br/>
            No of comments: 5 <br/>
            susudo rank: <img src="images/rating.gif"><br/><br/>
            <a href="#">Send private message </a>

        </div>

    </div>
    <div class="profile_left_content">
        <div id="member_info">
            <?php
            include ("actions/select_forum_action.php");
            ?>
            <div id="topic_created">
                <h2>Created Topics</h2>

                <ul>

                    <?php while ($row = mysql_fetch_assoc($user_forum)) {
                        ?>
                    <li>
                        <a href="frontend.php?page=comment&forum=<?php echo $row['forum_id'];?>"><?php echo $row["forum_topic"]; ?></a>
                    </li>
                        <?php } ?>


                </ul>
            </div>
        </div>

        <h2>Following Topics</h2>
        <ul>
            <li> 1. <a href="#">  Lorem Ipsum is simply dummy text of the printing and typesetting industry. </li> </a> <br/>
            <li> 2. <a href="#">  Lorem Ipsum is simply dummy text of the printing and typesetting industry. </li> </a> <br/>
            <li> 3. <a href="#">  Lorem Ipsum is simply dummy text of the printing and typesetting industry. </li> </a> <br/>
        </ul>

        <div class="separator"></div>


        <!-- <div id="see_more">
        <a href="">see more</a>.
        </div> -->
    </div>

    <div class="clear"> </div>
</div>
<div id="right_content">

    <h3>Ad Area</h3>
    <br/>
    <div class="ad_1">
        <img src="images/ad1.jpg"/>

    </div>

    <div class="bottom_ad">
        <div class="ad_2">
            &nbsp;
        </div>

        <div class="ad_3">
            &nbsp;
        </div>

        <div class="clear"> </div>
    </div>
    <div class="clear"> </div>

</div>